﻿using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PHMEE.EnergyEfficiency
{
    /// <summary>
    /// 导出流量计Excel数据
    /// </summary>
    [ExcelExporter(AutoFitAllColumn = false)]
    public class MassFlowmeterExcelDto
    {
        /// <summary>
        /// 时间戳
        /// </summary>
        [ExporterHeader(Width = 30, IsAutoFit = false, AutoCenterColumn = true)]
        public string Timestamp { get; set; }
        /// <summary>
        /// 瞬时油耗
        /// </summary>
        [ExporterHeader(Width = 20, IsAutoFit = false, AutoCenterColumn = true)]
        public float? Instant { get; set; }
        /// <summary>
        /// 分钟油耗 
        /// </summary>
        [ExporterHeader(Width = 20, IsAutoFit = false, AutoCenterColumn = true)]
        public float? OilValue { get; set; }
        /// <summary>
        /// 流量计显示的总油耗
        /// </summary>
        [ExporterHeader(Width = 20, IsAutoFit = false, AutoCenterColumn = true)]
        public float? TotalValue { get; set; }
        /// <summary>
        /// 温度
        /// </summary>
        [ExporterHeader(Width = 20, IsAutoFit = false, AutoCenterColumn = true)]
        public float? Temperature { get; set; }
        /// <summary>
        /// 密度
        /// </summary>
        [ExporterHeader(Width = 20, IsAutoFit = false, AutoCenterColumn = true)]
        public float? Density { get; set; }
        /// <summary>
        /// 油品
        /// </summary>
        [ExporterHeader(Width = 20, IsAutoFit = false, AutoCenterColumn = true)]
        public FuelType? FuelType { get; set; }
    }
}
